<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- qtdesigner-index.qdoc -->
  <title>Qt Designer | Qt Designer 手册</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.14</a></td><td ><a href="qtdesigner-manual.html">Qt Designer 手册</a></td><td >Qt Designer</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtdesigner-manual.html">Qt 5.14.2 参考文档</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#getting-started">开始</a></li>
<li class="level1"><a href="#articles-and-guides">文章和指南</a></li>
<li class="level1"><a href="#api-reference">API 参考</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Designer</h1>
<span class="subtitle"></span>
<!-- $$$qtdesigner-index.html-description -->
<div class="descr"> <a name="details"></a>
<p><a href="qformbuilder.html">QFormBuilder</a> 类提供了在运行时从UI文件构造用户界面 。</p>
<a name="getting-started"></a>
<h2 id="getting-started">开始</h2>
<p>要使用 Qt Designer 类，请在c++文件中添加以下指令:</p>
<pre class="cpp">

  <span class="preprocessor">#include &lt;QtDesigner&gt;</span>

</pre>
<p>要链接到 Qt Designer 模块，请在项目文件中添加以下行:</p>
<pre class="cpp">

  CONFIG += designer

</pre>
<a name="articles-and-guides"></a>
<h2 id="articles-and-guides">文章和指南</h2>
<p>这些文章包含关于 Qt Designer 的信息 。</p>
<ul>
<li><a href="qtdesigner-components.html">Creating and Using Components for Qt Designer</a> - 创建和使用自定义小部件插件</li>
<li><a href="qtdesigner-manual.html">Qt Designer Manual</a> - 使用 Qt Designer</li>
</ul>
<a name="api-reference"></a>
<h2 id="api-reference">API 参考</h2>
<p>这些是API参考资料的链接 。</p>
<ul>
<li><a href="qtdesigner-module.html">C++ Classes</a></li>
</ul>
</div>
<!-- @@@qtdesigner-index.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
